package gui.skolnikwin;

import javax.swing.JFrame;

/**
 * Manager pro volani metod v hlavnim okne.
 * @author schovjan
 * @date Jan 10, 2012
 */
public class SkolnikWinManager {

    private JFrame okno = null;


    public SkolnikWinManager(JFrame okno) {
	this.okno = okno;
    }


    public void showInfoMessage(String textMessage) {
	((SkolnikWin) okno).showInfoMessage(textMessage);
    }


    public void showAlertMessage(String textMessage) {
	((SkolnikWin) okno).showAlertMessage(textMessage);
    }


    public void showErrorMessage(String textMessage) {
	((SkolnikWin) okno).showErrorMessage(textMessage);
    }
}
